home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / web / spiderweb / src / Makefile < prev    next >
Makefile  |  1993-04-04  |  1KB  |  45 lines

  1. # Copyright 1989 by Norman Ramsey, Odyssey Research Associates
  2. # Not to be sold, but may be used freely for any purpose
  3. # For more information, see file COPYRIGHT in the parent directory
  4.  
  5. # This is a SUN OS 4 Makefile.  Sorry.  Makefiles in subdirectories
  6. # should work under any reasonable Make.
  7.  
  8. MAKE=make $(MFLAGS)
  9. DIRECTORIES=68k ada awk c c++ dijkstra kelem larch nawk \
  10.         penelope postscript reduce sml ssl turing turing+
  11.  
  12. # Removes excess junk from the world, except it doesn't remove
  13. # common object files from ./master
  14. # This destroys the sources, so don't make clean until you've made boot.
  15. clean:
  16.     @for i in $(DIRECTORIES); do \
  17.         cd $$i; \
  18.         echo making $$i clean...; \
  19.         $(MAKE) clean ; \
  20.         cd ..; \
  21.     done
  22.     rm -f *~
  23.     @echo "All done."
  24.  
  25. # This creates the minimum sources in preparation for `make distribution'
  26. source:
  27.     cd c ; $(MAKE) source ; cd ..
  28.     cd awk ; $(MAKE) source ; cd ..
  29.  
  30. # Used to bring up the system when first installing it.  Requires sources,
  31. # either from the distribution tarfile or from `make source'
  32. boot:
  33.     cd c; $(MAKE) boot; cd ..
  34.     cd awk; $(MAKE) boot; cd ..
  35.  
  36. # Make all known webs.  For lunatics only.
  37. all:
  38.     @for i in $(DIRECTORIES); do \
  39.         cd $$i; \
  40.         $(MAKE) web ; \
  41.         cd ..; \
  42.     done
  43.     @echo "All done."
  44.     
  45.